#!/bin/bash

read -p "请输入任意的数字：" num1
read -p "请输入一个百分比数字：" num2
num3=`echo "scale=2;${num1}*${num2}/100"|bc`
echo "${num1}的${num2}%是:$num3"
